var data = [
  {
    name: '祖父',
    children: [
      {
        name: '李叔叔',
        value: 15,
        children: [
          {
            name: '兄弟 Jack',
            value: 2
          },
          {
            name: '兄弟 Mary',
            value: 5,
            children: [
              {
                name: '儿子 Jack',
                value: 2
              }
            ]
          },
          {
            name: '兄弟 Ben',
            value: 4
          }
        ]
      },
      {
        name: '爸爸',
        value: 10,
        children: [
          {
            name: 'Me',
            value: 5
          },
          {
            name: '兄弟 Peter',
            value: 1
          }
        ]
      }
    ]
  },
  {
    name: '祖母',
    children: [
      {
        name: '李伯伯',
        children: [
          {
            name: '兄弟 Betty',
            value: 1
          },
          {
            name: '兄弟 Jenny',
            value: 2
          }
        ]
      }
    ]
  }
]
export default {
  series: {
    type: 'sunburst',
    // emphasis: {
    //     focus: 'ancestor'
    // },
    data: data,
    radius: [0, '90%'],
    label: {
      rotate: 'radial'
    }
  }
}
